package com.liu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class UserController {


    @GetMapping("/user")
    public String query(Model model){
        model.addAttribute("info","拦截后渲染");
        return "/index.jsp";
    }

}
